{extend name="base_iframe" /}


{block name="body"}


	<form class="form-horizontal ajax-form"  method="post" >
		<input type="hidden" name="type_id" value="{$type_id}">
		<div class="row box-ota-info">
			<div class="col-md-12">
				<div class="box-body">

					<div class="form-group">
						<div class="col-sm-2"></div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">规格名称</label>
						<div class="col-sm-6">
							<input type="text" class="form-control" name="spec_name" placeholder="请输入规格名称" value="" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">能否检索</label>
						<div class="col-sm-2">
							<select name="search_index" class="form-control">
								<option value="1">能</option>
								<option value="0">否</option>
							</select>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">规格项</label>
						<div class="col-sm-5">
							<textarea class="form-control" name="item" rows="5"></textarea>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">排序值</label>
						<div class="col-sm-2">
							<input type="text" class="form-control" name="seq" placeholder="数字小的在前" value="99" />
						</div>
					</div>

				</div>
			</div>
		</div>
	</form>


{/block}

{block name="script"}
	<script type="text/javascript" src="__AJS__/type_spec/add.js"></script>
{/block}